﻿using System;
using System.Collections.Generic;
using System.Text;
using YmSoft.Kblog.Model;

namespace YmSoft.Kblog.IDAL
{
    public interface ILoginService
    {
        /// <summary>
        /// 登录
        /// </summary>
        /// <param name="login"></param>
        /// <param name="password"></param>
        /// <returns></returns>
        K_Login GetLoginInfoByLoginPass(string login, string password);
        /// <summary>
        /// 获取菜单JSON
        /// </summary>
        /// <param name="tokey"></param>
        /// <returns></returns>
        string GetMenuJSON(string tokey);
    }
}
